package edu.gdin.ecommerce.service;

import java.util.List;

import edu.gdin.ecommerce.model.Inventory;
import edu.gdin.ecommerce.util.Pager;

public interface IInventoryService {

	/**
	 * 根据条件查询Inventory
	 * @param inventory
	 * @param operTime1
	 * @param operTime2
	 * @param currentPage
	 * @return
	 */
	public Pager queryInventory(Inventory inventory, String operTime1, String operTime2, int currentPage);
	
	/**
	 * 根据条件导出Inventory
	 * @param inventory
	 * @param operTime1
	 * @param operTime2
	 * @return
	 */
	public String exportByQuery(Inventory inventory, String operTime1, String operTime2);
	
	/**
	 *  Added By COF 
	 *  2012-05-02
	 *  根据id查询库存卡
	 */
	public Inventory queryInvenoryById(String id);
	
	
	/**
	 *  Added By COF 
	 *  2012-05-04
	 *  跟新库存卡状态
	 */
	public boolean updateInvenory(Inventory inventory);
}
